package com.blog.user.mapper;

import com.blog.user.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zw
 * @since 2021-12-14
 */
@Repository
public interface UserMapper extends BaseMapper<User> {
    public Integer getRoleByID(String id);
    public void updateRoleByID(String id,Integer role);
}
